"""
# -*- coding: utf-8 -*-
Time    : 2025/7/28 下午3:34
Author  : Micah
File    : conftest.py
Function:
"""
import pytest
import requests


@pytest.fixture(scope='session')
def get_access_token():
    url =  'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx394827290100&secret=490348036319957523b257491126294a'
    rep = requests.get(url)
    return rep.json()['access_token']